<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>标准化平台界面调用</title>
</head>
<body>
<h3>受理功能</h3>
    <button onclick="getParentObject()">获取父元素测试</button>
    
</body>
</html>
 <script language="javascript" type="text/javascript">
 
    function save(data){
	  console.log(data);
	  var obj = JSON.parse(data);
	  var tokenID = obj.tokenID;
	  var item_code = obj.item_code;
	  var business_id = obj.business_id;
	  alert("tokenID:"+tokenID+",item_code="+item_code+",business_id="+business_id);
    }
    
    function getParentObject(){
  	  var parentObj = window.parent.document;
  	  alert(parentObj.documentElement.innerHTML);
  	  console.log(parentObj.documentElement.innerHTML);
    }

 
</script>